﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace _3Dsoundor2Dgraphor.Sound
{
	class SoundBase
	{
		public static int INTERFACE_UPDATETIME = 50;
		public static float DISTANCEFACTOR = 1.0f;
		
		public static FMOD.RESULT result;

		public static FMOD.System system = null;

		public static float t = 0;

		public void ERRCHECK(FMOD.RESULT result)
		{
			if (result != FMOD.RESULT.OK)
			{
				//MessageBox.Show("FMOD error! " + result + " - " + FMOD.Error.String(result));
				//Environment.Exit(-1);
			}
		}

	}
}
